const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true
})
   module.exports = {
     devServer: {
       proxy: {
         '/api/task': {
           target: 'http://127.0.0.1:7000',
           changeOrigin: true,
           pathRewrite: { '^/api/task': '' }, // 重写路径，去掉 /api/task 前缀
         },
         '/api': {
           target: 'http://127.0.0.1:9521',
           changeOrigin: true,
           pathRewrite: { '^/api': '' }, // 重写路径，去掉 /api 前缀
         },
       },
     },

   };

